-
Home
-
MailPoet – Newsletters, Email Marketing, and Automation
-
4.23.0
-
Code
-
Classes
- SegmentsRepository
| Total Complexity |
32 |
| Dependencies |
16 |
| Dependents |
37 |
| Total lines |
292 |
| Lines of code |
215 |
| Logical lines of code |
98 |
| Comment lines |
22 |
| Methods |
16 |
| Properties |
3 |
Methods 16
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createOrUpdate() |
A |
43 |
10 |
49 |
| bulkDelete() |
S |
47 |
2 |
39 |
| updateDeletedAt() |
S |
60 |
2 |
14 |
| getWPUsersSegment() |
S |
61 |
2 |
13 |
| getWooCommerceSegment() |
S |
61 |
2 |
13 |
| getCountsPerType() |
S |
61 |
2 |
13 |
| isNameUnique() |
S |
60 |
2 |
13 |
| verifyNameIsUnique() |
S |
72 |
2 |
5 |
| getSegmentCountWithMultipleFilters() |
S |
60 |
1 |
14 |
| findByUpdatedScoreNotInLastDay() |
S |
63 |
1 |
12 |
| __construct() |
S |
70 |
1 |
6 |
| getEntityClassName() |
S |
82 |
1 |
3 |
| findByTypeNotIn() |
S |
68 |
1 |
8 |
| bulkTrash() |
S |
67 |
1 |
7 |
| doTrash() |
S |
79 |
1 |
3 |
| bulkRestore() |
S |
79 |
1 |
3 |